Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / Vector4 Structure / Vector4 Constructor / Vector4 Constructor(Single[])
The values to assign to the X, Y, Z, and W components of the vector. This must be an array with four elements.

In This Topic
    Vector4 Constructor(Single[])
    In This Topic
    Initializes a new instance of the Vector4 struct.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal values() As System.Single _
    )
    public Vector4( 
       System.float[] values
    )

    Parameters

    values
    The values to assign to the X, Y, Z, and W components of the vector. This must be an array with four elements.
    Exceptions
    ExceptionDescription
    Thrown when values is null.
    Thrown when values contains more or less than four elements.
    See Also